package word2;
class myRunnable implements Runnable {
    @Override
    public void run() {
        System.out.println("实现Runnable，重写run");
    }
}
public class Func2 {
    public static void main(String[] args) {
        myRunnable t = new myRunnable();
        Thread t2 = new Thread(t);
        t2.start();

    }
}
